﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sunboxsoft.ASMS.Server.Domain.Entity
{
    /// <summary>
    /// 结算单中的物料
    /// </summary>
    public class ESettlementBillMaterial 
    {
        public Guid Id { get; set; }

        /// <summary>
        /// 结算单Id
        /// </summary>
        public Guid SettlementBillId { get; set; }

        /// <summary>
        /// 物料Id
        /// </summary>
        public Guid MaterialId{ get; set; }

        /// <summary>
        /// 维修单中的选择的商品信息的Id
        /// </summary>
        public Guid MaintenanceBillMaterialId { get; set; }

        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 折扣
        /// </summary>
        public decimal Discount { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public decimal Count { get; set; }

        /// <summary>
        /// 实际金额
        /// </summary>
        public decimal Amount { get; set; }

        /// <summary>
        /// 原始金额
        /// </summary>
        public decimal OrigAmount { get; set; }

        /// <summary>
        /// 打折打掉的金额
        /// </summary>
        public decimal DisAmount { get; set; }

        /// <summary>
        /// 扣税的金额
        /// </summary>
        public decimal TaxAmount { get; set; }

        /// <summary>
        /// 销售提成金额
        /// </summary>
        public decimal SalesCommAmount { get; set; }

        /// <summary>
        /// 结算类型
        /// </summary>
        public int SettlementType { get; set; }
    }
}
